
package com.maoye.ossp.webserviceClient;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.7.10
 * 2014-06-04T15:50:34.942+08:00
 * Generated source version: 2.7.10
 * 
 */
public final class PosPayWebService_PosPayWebServiceImplPort_Client {

    private static final QName SERVICE_NAME = new QName("pospay.webservice.PosPayWebService", "PosPayWebServiceImplService");

    private PosPayWebService_PosPayWebServiceImplPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = PosPayWebServiceImplService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        PosPayWebServiceImplService ss = new PosPayWebServiceImplService(wsdlURL, SERVICE_NAME);
        PosPayWebService port = ss.getPosPayWebServiceImplPort();  
        
        {
        System.out.println("Invoking getBillBySaleNo...");
        java.lang.String _getBillBySaleNo_saleNo = "";
        java.lang.String _getBillBySaleNo__return = port.getBillBySaleNo(_getBillBySaleNo_saleNo);
        System.out.println("getBillBySaleNo.result=" + _getBillBySaleNo__return);


        }
        {
        System.out.println("Invoking getSaleNo...");
        java.lang.String _getSaleNo_billPay = "";
        java.lang.String _getSaleNo__return = port.getSaleNo(_getSaleNo_billPay);
        System.out.println("getSaleNo.result=" + _getSaleNo__return);


        }
        {
        System.out.println("Invoking getTerminalSupplier...");
        java.lang.String _getTerminalSupplier_terminalNo = "";
        java.lang.String _getTerminalSupplier__return = port.getTerminalSupplier(_getTerminalSupplier_terminalNo);
        System.out.println("getTerminalSupplier.result=" + _getTerminalSupplier__return);


        }
        {
        System.out.println("Invoking getSaleSerialno...");
        java.lang.String _getSaleSerialno_arg0 = "";
        java.lang.String _getSaleSerialno_arg1 = "";
        java.lang.String _getSaleSerialno__return = port.getSaleSerialno(_getSaleSerialno_arg0, _getSaleSerialno_arg1);
        System.out.println("getSaleSerialno.result=" + _getSaleSerialno__return);


        }
        {
        System.out.println("Invoking billSale...");
        java.lang.String _billSale_billPay = "";
        java.lang.String _billSale__return = port.billSale(_billSale_billPay);
        System.out.println("billSale.result=" + _billSale__return);


        }
        {
        System.out.println("Invoking goodSaleRequire...");
        java.lang.String _goodSaleRequire_shopNo = "";
        java.lang.String _goodSaleRequire_terminalSource = "";
        java.lang.String _goodSaleRequire_barcode = "";
        java.lang.Double _goodSaleRequire_salePrice = null;
        java.lang.Double _goodSaleRequire_saleNum = null;
        java.lang.String _goodSaleRequire_vipType = "";
        java.lang.String _goodSaleRequire__return = port.goodSaleRequire(_goodSaleRequire_shopNo, _goodSaleRequire_terminalSource, _goodSaleRequire_barcode, _goodSaleRequire_salePrice, _goodSaleRequire_saleNum, _goodSaleRequire_vipType);
        System.out.println("goodSaleRequire.result=" + _goodSaleRequire__return);


        }
        {
        System.out.println("Invoking getPromById...");
        java.lang.Long _getPromById_arg0 = null;
        java.lang.String _getPromById__return = port.getPromById(_getPromById_arg0);
        System.out.println("getPromById.result=" + _getPromById__return);


        }
        {
        System.out.println("Invoking queryByQueryFilter...");
        java.lang.String _queryByQueryFilter_arg0 = "";
        java.lang.String _queryByQueryFilter__return = port.queryByQueryFilter(_queryByQueryFilter_arg0);
        System.out.println("queryByQueryFilter.result=" + _queryByQueryFilter__return);


        }
        {
        System.out.println("Invoking verifyUser...");
        java.lang.String _verifyUser_macAddr = "";
        java.lang.String _verifyUser_userNo = "";
        java.lang.String _verifyUser_passwd = "";
        java.lang.String _verifyUser__return = port.verifyUser(_verifyUser_macAddr, _verifyUser_userNo, _verifyUser_passwd);
        System.out.println("verifyUser.result=" + _verifyUser__return);


        }
        {
        System.out.println("Invoking vipPolicyQuery...");
        java.lang.String _vipPolicyQuery__return = port.vipPolicyQuery();
        System.out.println("vipPolicyQuery.result=" + _vipPolicyQuery__return);


        }
        {
        System.out.println("Invoking getBillByCon...");
        java.lang.String _getBillByCon_saleNo = "";
        java.lang.String _getBillByCon_shopNo = "";
        java.lang.String _getBillByCon_terminalNo = "";
        java.lang.String _getBillByCon_startDate = "";
        java.lang.String _getBillByCon_endDate = "";
        java.lang.String _getBillByCon__return = port.getBillByCon(_getBillByCon_saleNo, _getBillByCon_shopNo, _getBillByCon_terminalNo, _getBillByCon_startDate, _getBillByCon_endDate);
        System.out.println("getBillByCon.result=" + _getBillByCon__return);


        }
        {
        System.out.println("Invoking getGoodsInfo...");
        java.lang.String _getGoodsInfo_barcode = "";
        java.lang.String _getGoodsInfo_goodscode = "";
        java.lang.String _getGoodsInfo__return = port.getGoodsInfo(_getGoodsInfo_barcode, _getGoodsInfo_goodscode);
        System.out.println("getGoodsInfo.result=" + _getGoodsInfo__return);


        }
        {
        System.out.println("Invoking getAuthorityCard...");
        java.lang.String _getAuthorityCard_cardNo = "";
        java.lang.String _getAuthorityCard_shopNo = "";
        java.lang.String _getAuthorityCard__return = port.getAuthorityCard(_getAuthorityCard_cardNo, _getAuthorityCard_shopNo);
        System.out.println("getAuthorityCard.result=" + _getAuthorityCard__return);


        }
        {
        System.out.println("Invoking getInitParm...");
        java.lang.String _getInitParm_userNo = "";
        java.lang.String _getInitParm_terminalNo = "";
        java.lang.String _getInitParm_shopNo = "";
        java.lang.String _getInitParm__return = port.getInitParm(_getInitParm_userNo, _getInitParm_terminalNo, _getInitParm_shopNo);
        System.out.println("getInitParm.result=" + _getInitParm__return);


        }
        {
        System.out.println("Invoking billReturn...");
        java.lang.String _billReturn_billNo = "";
        java.lang.String _billReturn__return = port.billReturn(_billReturn_billNo);
        System.out.println("billReturn.result=" + _billReturn__return);


        }
        {
        System.out.println("Invoking goodsQuery...");
        java.lang.String _goodsQuery_barcode = "";
        java.lang.String _goodsQuery_goodscode = "";
        java.lang.String _goodsQuery_supplierNo = "";
        java.lang.String _goodsQuery_shopNo = "";
        java.lang.String _goodsQuery__return = port.goodsQuery(_goodsQuery_barcode, _goodsQuery_goodscode, _goodsQuery_supplierNo, _goodsQuery_shopNo);
        System.out.println("goodsQuery.result=" + _goodsQuery__return);


        }
        {
        System.out.println("Invoking getCode...");
        java.lang.String _getCode__return = port.getCode();
        System.out.println("getCode.result=" + _getCode__return);


        }
        {
        System.out.println("Invoking billSaleRequire...");
        java.lang.String _billSaleRequire_billDetail = "";
        java.lang.String _billSaleRequire__return = port.billSaleRequire(_billSaleRequire_billDetail);
        System.out.println("billSaleRequire.result=" + _billSaleRequire__return);


        }
        {
        System.out.println("Invoking couponQuery...");
        java.lang.String _couponQuery_couponNo = "";
        java.lang.String _couponQuery_shopNo = "";
        java.lang.String _couponQuery__return = port.couponQuery(_couponQuery_couponNo, _couponQuery_shopNo);
        System.out.println("couponQuery.result=" + _couponQuery__return);


        }
        {
        System.out.println("Invoking getSerialNo...");
        java.lang.String _getSerialNo_serialNo = "";
        java.lang.String _getSerialNo_shopNo = "";
        java.lang.String _getSerialNo__return = port.getSerialNo(_getSerialNo_serialNo, _getSerialNo_shopNo);
        System.out.println("getSerialNo.result=" + _getSerialNo__return);


        }

        System.exit(0);
    }

}
